package com.example.MastAndSlave;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@MapperScan("com.example.MastAndSlave.mapper")// 指定要扫描的Mapper类的包的路径
public class MastAndSlaveApplication {

	public static void main(String[] args) {
		SpringApplication.run(MastAndSlaveApplication.class, args);
	}

}
